﻿<%@ Page Title="" Language="C#" MasterPageFile="~/SiteMaster/SitePlantilla.Master" AutoEventWireup="true" CodeBehind="ListarModificarInvolucrado.aspx.cs" Inherits="Sistema_Totem.Vista.Involucrados.ListarModificarInvolucrado" %>
<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<link href="/Styles/EstiloPlantilla.css" rel="stylesheet" type="text/css" />
    <div class="cuerpo">
    <div id="ruta" class="ruta">Involucrados > Listar Involucrados </div>
    <br />
        <div style="width: 931px; text-align: center; font-weight: 700">
            <asp:Label ID="Mensaje" runat="server" Text="Text" Visible="False">Mensaje</asp:Label>
        </div>
        <div class="buscador">
            <asp:TextBox ID="textBuscar" runat="server" Width="340px" MaxLength="40"></asp:TextBox>
            &nbsp;<asp:Button ID="Button2" CssClass="boton" runat="server" Text="Buscar" OnClick="Button2_Click" />
            <br />
            <asp:RadioButtonList CssClass="centrar-opc" ID="tipoBusqueda" runat="server" Width="327px"
                RepeatDirection="Horizontal">
                <asp:ListItem Value="1">Por Nombre</asp:ListItem>
                <asp:ListItem Value="2">Por Nombre Rol</asp:ListItem>
            </asp:RadioButtonList>
        </div>
        <asp:ScriptManager ID="ScriptManager1" runat="server">
        </asp:ScriptManager>
        <asp:UpdatePanel ID="UpdatePanel1" runat="server">
            <ContentTemplate>
                <asp:GridView ID="GridViewModificarInvolucrado" CssClass="tablas" runat="server"
                    CellPadding="4" ForeColor="#333333" AutoGenerateColumns="false" AlternatingRowStyle-BackColor="#e6e6e6"
                    GridLines="None" Width="600px" HorizontalAlign="Center" Style="text-align: center"
                    AllowPaging="True" PageSize="8" OnPageIndexChanging="GridViewModificarInvolucrado_PageIndexChanging"
                    OnSelectedIndexChanged="GridViewModificarInvolucrado_SelectedIndexChanged">
                    <HeaderStyle BackColor="#AA2828" ForeColor="White" />
                    <FooterStyle BackColor="#AA2828" ForeColor="White" />
                    <PagerStyle BackColor="#AA2828" ForeColor="White" HorizontalAlign="Center" />
                    <Columns>
                        <asp:BoundField DataField="Id" HeaderText="Id" />
                        <asp:BoundField DataField="Involucrado" HeaderText="Involucrado" />
                        <asp:BoundField DataField="Rol" HeaderText="Rol" />
                        <asp:CommandField ButtonType="Image" HeaderText="Modificar" SelectImageUrl="~/Styles/Images/Edit.png"
                            ShowSelectButton="True" />
                    </Columns>
                </asp:GridView>
            </ContentTemplate>
            <Triggers>
                <asp:AsyncPostBackTrigger ControlID="Button2" EventName="Click" />
            </Triggers>
        </asp:UpdatePanel>
    </div>
</asp:Content>
